|
![](/i/fill.gif) |
"Nekar Xenos" <j-p### [at] citywalk co za> wrote in message
news:3b1cc4fb@news.povray.org...
>
>
> Ok, that sounds good. Can I do CSG with these iso-objects then? (I guess not -
> but it owuld be nice =)
>
Yep, you can treat iso's like any other CSG (although read the docs and don't forget
max_trace) - try the following code in megapov (a difference of a box and an iso):
#version unofficial MegaPov 0.6;
#include "colors.inc"
light_source{<0,0,0> color rgb<1,1,1>*2 translate <0, 0, -5>}
camera{location <0.0, 0.5, -5.0> look_at <0.0, 0.0, 0.0>}
sky_sphere{pigment{Blue}}
difference{
box{<-1,-1,0>,<1,1,1/2> pigment{red 1}}
isosurface{
function {(x*x + y*y + z*z) - noise3d(x*5,y*5,z*5)}
max_trace 10 // try removing this!
contained_by{box{-5,5}}
}
pigment{rgb 1}
}
Post a reply to this message
|
![](/i/fill.gif) |